package com.wmx.thread.synchronize_and_lock;

import lombok.Synchronized;

/**********************************
 * @author wmx
 * @date 2019/10/9 14:34
 * @description:
 * @version 1.0
 ************************************/
public class SynchronizedDemo {
    public synchronized void test1(){};

    public void test2(){
        synchronized (this){

        }
    };

}
